using System;
using System.Collections.Generic;
using System.Text;
using DataAccessObject;
using DataTransferObject;
namespace BusinessLogicLayer
{
    public class ChiTietBoDeBLL
    {
        private string _conn;
        public ChiTietBoDeBLL()
        {
            Common g = new Common();
            _conn = g.conn;
        }

        public int ThemChiTietBoDe(clsChiTietBoDe ChiTiet)
        {
            ChiTietBoDeDAO chitietDAO = new ChiTietBoDeDAO(_conn);
            return chitietDAO.ThemChiTietBoDe(ChiTiet);
        }

        public void XoaChiTiet(clsChiTietBoDe ChiTiet)
        {
            ChiTietBoDeDAO chitietDAO = new ChiTietBoDeDAO(_conn);
            chitietDAO.XoaChiTietBoDe(ChiTiet);
        }
    }
}
